package com.epfresh.bean;

import java.util.List;

public class DeliveryDateNew {

    /**
     * days : 1
     * dateStr : 05月03日
     * timeList : [{"typeAndId":"1|20","title":"09:52~17:52","freight":0}]
     */

    private String days;
    private String dateStr;
    private List<TimeListBean> timeList;
    private String deliveryDate;

    public String getDeliveryDate() {
        return deliveryDate;
    }

    public void setDeliveryDate(String deliveryDate) {
        this.deliveryDate = deliveryDate;
    }

    public String getDays() {
        return days;
    }

    public void setDays(String days) {
        this.days = days;
    }

    public String getDateStr() {
        return dateStr;
    }

    public void setDateStr(String dateStr) {
        this.dateStr = dateStr;
    }

    public List<TimeListBean> getTimeList() {
        return timeList;
    }

    public void setTimeList(List<TimeListBean> timeList) {
        this.timeList = timeList;
    }

    public static class TimeListBean {
        /**
         * typeAndId : 1|20
         * title : 09:52~17:52
         * freight : 0
         */

        private String typeAndId;
        private String title;
        private double freight;
        private DeliveryDateNew father;

        public DeliveryDateNew getFather() {
            return father;
        }

        public void setFather(DeliveryDateNew father) {
            this.father = father;
        }

        public boolean isNormalDelivery() {
            return isNormalDelivery;
        }

        public void setNormalDelivery(boolean normalDelivery) {
            isNormalDelivery = normalDelivery;
        }

        public int getDatePosition() {
            return datePosition;
        }

        public void setDatePosition(int datePosition) {
            this.datePosition = datePosition;
        }

        public int getTimePosition() {
            return timePosition;
        }

        public void setTimePosition(int timePosition) {
            this.timePosition = timePosition;
        }

        public boolean isSelectFlag() {
            return selectFlag;
        }

        public void setSelectFlag(boolean selectFlag) {
            this.selectFlag = selectFlag;
        }

        boolean isNormalDelivery = true;
        int datePosition = 0;
        int timePosition = 0;
        boolean selectFlag = false;
        public String getTypeAndId() {
            return typeAndId;
        }

        public void setTypeAndId(String typeAndId) {
            this.typeAndId = typeAndId;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public double getFreight() {
            return freight;
        }

        public void setFreight(double freight) {
            this.freight = freight;
        }
    }
}
